

<span id="marca">
<?php
echo "Elija Marca:";

use_helper('Form');
use_helper('Javascript');
use_helper('Object');
echo select_tag('marca_id', objects_for_select(MarcaPeer::getMarcas(),'getId','__toString', $marca_id,  array(
'include_custom'=>'Seleccione...',
)))."\n";
echo "Elija Producto:";
echo observe_field('producto_id', array(
'update'   => 'producto',
'url'      => 'modelo/listProducto',
'with'     => "'&marca_id=".$marca_id."'",
'script'   => true,
))."\n";
?>
</span>